//基础url

//var baseUrl	= "http://192.168.43.106:8080/ecity/";
//var baseUrl 	= "http://10.66.21.163:8080/ecity/";
var baseUrl 	= "http://10.25.1.147:8080/ecity/";

//jeecg里面的online表单通用url

var jeecgselectUrl = "api/cgFormDataController.do?getFormInfo";	//查询
var jeecgaddUrl    = "api/cgFormDataController.do?addFormInfo";	//增加
var jeecgupdateUrl = "api/cgFormDataController.do?updateFormInfo";	//更新

//程序自己接口的url by zfl 170825
var loginUrl 	= "api/maLoginController/login.do";				//登陆



//解析jeecg中所需的json字符串的专用方法 by zfl 170825 录入的是个date数组,返回的是个带&符的字符串
function transformDateToStr(date){
	var str = "";
	var flag = false;
	for(var key in date)  {
		if(flag == false){
			str += key + '=' + date[key];
			flag = true;
		}else{
			str += '&' + key + '=' + date[key];
		}
	}  
	console.log('拼装出来的字符串是========》》' + str);
	return str;
};

	
/*
以下是iuap中的老url,由于不能适应现在的jeecg框架，已经废弃不同  by zfl 170825

//每个功能各自的url部分
//登陆功能
var loginurl = "mobilelogin/login";
//查询业主的物业缴费单
var selwyfurl = "fee/property/sel";
//缴纳物业费
var paywyfurl = "fee/property/pay";
//查询业主的车位费缴费单
var selcwfurl = "fee/park/sel";
//缴纳车位费
var paycwfurl = "fee/park/pay";
//查询业主的垃圾清运费缴费单
var selljfurl = "fee/garbage/sel";
//缴纳垃圾清运费
var payljfurl = "fee/garbage/pay";
//查询业主全部的单元均摊费
var seljtfurl = "fee/unitavg/sel";
//缴纳单元均摊费
var payjtfurl = "fee/unitavg/pay";
//查询业主全部的押金
var selyjurl = "fee/deposit/sel";
//缴纳押金
var payyjurl = "fee/deposit/pay";
//维修服务管理——全部查询
var selwxfwurl = "service/repair/sel";
//维修服务管理——申请
var applywxfwurl = "service/repair/apply";
//维修服务管理——评价
var appraisewxfwurl = "service/repair/appraise";
//增值服务管理——全部查询
var selzzfwurl = "service/valadd/sel";
//增值服务管理——申请时需要做的参照，输入模糊名称，返回具体名称和pk
var prozzfwurl = "service/valadd/selpro";
//增值服务管理——申请
var applyzzfwurl = "service/valadd/apply";
//增值服务申请——评价
var appraisezzfwurl = "service/valadd/appraise";
//房产信息——全部查询
var premiseselurl = "service/premises/sel";

*/
